YAYDP\Abstracts\YAYDP_Product_Pricing_Rule S

Total Complexity 30
Dependencies 6
Dependents 2
Total lines 189
Lines of code 77
Logical lines of code 40
Comment lines 83
Methods 17
Properties 0

Methods 17

Method Rating Maintainability Complexity Lines of code
can_apply_adjustment()
S
59 4 14
get_discount_value_per_item()
S
61 3 12
get_offer_description()
S
62 2 11
get_discount_amount_per_item()
S
66 2 8
is_variations_discount()
S
74 2 4
is_individual_line_item_discount()
S
74 2 4
get_rule_id()
S
78 2 3
get_match_type_of_buy_filters()
S
77 2 3
get_buy_filters()
S
78 2 3
is_all_together_discount()
S
74 2 4
create_possible_adjustment_from_cart()
S
100 1 0
get_adjustment_amount()
S
66 1 8
discount_item()
S
100 1 0
get_encouragements()
S
100 1 0
get_max_discount()
S
100 1 0
get_min_discount()
S
100 1 0
check_conditions()
S
82 1 3